package duck_zhang.dao;
import java.util.List;

import pojo.Persion;
import pojo.Usermessage;

import zhang.dao.MessageDao;
public interface MessageDaoV1 extends MessageDao{
			public List<Usermessage> readMessageByBlock();
			public List<Usermessage> searchMessageByBlock(int bid);
			public boolean writeMessage(Persion sender,String title,String content,String toAll[],String type,String block,String file);
			public boolean writeMessage(Persion sender,String title,String content,String user,String type,String block,String file);
			public List getBlock()throws Exception;
			public boolean put(int mid,int mtid)throws Exception;
}
